<div class="page-header">
                    <div class="icon">
                        <span class="ico-layout-7"></span>
                    </div>
                    <h1>Recargas <small>Listado de recargas</small></h1>
                </div>
<div class="row-fluid">
    <div class="span8">
    <div class="block">
                            <div class="head dblue">
                                <div class="icon"><span class="ico-layout-9"></span></div>
                                <h2>Ultimas Recargas<?php //echo date('d-m-Y');?></h2>
                                <ul class="buttons">
                                    <li><a href="#" onClick="source('table_sort_pagination'); return false;"><div class="icon"><span class="ico-info"></span></div></a></li>
                                </ul>                                                        
                            </div>                
                                <div class="data-fluid">
                                    <table class="table fpTable lcnp" cellpadding="0" cellspacing="0" width="100%">
                                        <thead>
                                        <tr>
                                            <th>ID</th>
                                            <th>Monto</th>
                                            <th>Registrado</th>
                                            <th>Clientes</th>
                                            <th>Acciones</th>
                                        </tr>
                                        </thead>
                                        <tbody>
                                        <?php $i = 0;?>
                                        <?php foreach($recargas as $re):$i++;?>
                                            <tr>
                                            <td><?php echo $re['Recarga']['id'];?></td>
                                            
                                            <td><?php echo $re['Recarga']['monto'];?></td>
                                            <td><?php echo $re['Recarga']['created'];?></td>
                                            <td><?php echo $re['Cliente']['nombre'];?></td>
                                            <td>
                                            <a href="#bModal" role="button" data-toggle="modal" onclick="$('#contenidomodal').load('<?php echo $this->Html->url(array('controller' => 'Clientes','action' => 'detalle',$re['Recarga']['id']))?>');" class="blblue">Detalle</a>
                                            <?php //echo $this->Html->link('Detalle',array('action' => 'detalle',$re['Recarga']['id']));?>
                                            </td>
                                            </tr> 
                                        <?php endforeach;?> 
                                        </tbody>
                                    </table>                    
                                </div> 
                        </div> 
    </div>
</div>
<?php echo $this->Html->script(array('print')); ?>

 

<div id="factura" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
            
            <div id="detallec">
                
                
            </div>
            
</div>
